const koa = require('koa')
const app = new koa()
const midd1 = (ctx, next) => {
  ctx.message = 'aaa',
  next()
}
const midd2 = (ctx, next) => {
  ctx.message += 'bbb',
  next()
}
const midd3 = (ctx, next) => {
  ctx.message += 'ccc'
}
app.use(midd1)
app.use(midd2)
app.use(midd3)
app.listen(9089, () => {
  console.log('koa 实现同步数据')
})